class BeginWebpackPlugin {
  element: HTMLDivElement;
  constructor() {
    this.element = document.createElement('div');
    this.element.innerHTML = 'Hello Webpack Plugin';
  }
}

document.body.appendChild(new BeginWebpackPlugin().element);
